<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('Member/solist')}">会员列表</a></li>
			<li><a href="{:url('Member/add')}">会员添加</a></li>
                        <li class="active"><a href="{:url('Member/ownmebcard')}">拥有会员卡</a></li>
		</ul>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
                                        <th>折扣名称</th>
					<th>卡种类</th>
                                        <th>比率</th>
                                        <th>操作状态</th>
					<th>时间</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>  
                                    <td>{$vo.cardname}</td>
                                    <td>{$vo.card_type}</td>
                                    <td>{$vo.card_is}</td>
                                    <td><?php $type = $vo['status'];switch($type){case 1: echo "正常";break;case 2: echo "冻结";break;} ?></td>
                                    <td>{:date('Y-m-d H:i:s',$vo['c_time'])}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>